/*
 * Image.java
 *
 * Created on 14 marzec 2007, 00:20
 *
 */

package arocms.business;

import java.io.Serializable;
import java.sql.Blob;
import java.util.Date;

/**
 *
 * @author arek
 */
public class Image implements Serializable{
    
    private Long   id;
    private Date   date;
    private String title;
    private String description;
    private String contentType;
    private String fileName;
    private Long   fileSize;
    private Blob   contentData;
    
    /** Creates a new instance of Image */
    public Image() {
    }
    
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public String getTitle() {
        return title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }
    
    public String getContentType() {
        return contentType;
    }
    
    public void setContentType(String contentType) {
        this.contentType = contentType;
    }
    
    public Date getDate() {
        return date;
    }
    
    public void setDate(Date date) {
        this.date = date;
    }
    
    public Blob getContentData() {
        return contentData;
    }
    
    public void setContentData(Blob contentData) {
        this.contentData = contentData;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
  
}
